package com.cp.service.impl;

import com.cp.dao.AdjudgmentRelationWordMapper;
import com.cp.repository.AdjudgmentRelationWord;
import com.cp.service.AdjudgmentRelationWordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdjudgmentRelationWordServiceImpl implements AdjudgmentRelationWordService {

	@Autowired
	AdjudgmentRelationWordMapper adjudgmentRelationWordMapper;

	@Override
	public List<AdjudgmentRelationWord> getByConvictionId(Integer convictionId) {
		return adjudgmentRelationWordMapper.getByConvictionId(convictionId);
	}
}
